-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove ee #3093
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@pablodanswer Are you sure that this code worked? If I try to register a user (im on the main branch without ee turned on) I get the following error: It seems that when EE is disabled, the function fetch_ee_implementation_or_noop returns a no-op lambda that directly yields the async_return_default_schema function object instead of calling it. This leads to the error because await is applied to the function object itself rather than the result of calling the function. To fix this, I believe the no-op lambda should actually invoke async_return_default_schema with the provided arguments, like so: But I am not sure (I am no python dev). |
Description
Fully remove ee imports from non ee modules (use fetch_versioned instead)
New fetch_versioned method for functionality that has no functional non-ee equivalent (and raises exception for missing modules in ee enabled environments
How Has This Been Tested?
Accepted Risk (provide if relevant)
N/A
Related Issue(s) (provide if relevant)
N/A
Mental Checklist:
Backporting (check the box to trigger backport action)
Note: You have to check that the action passes, otherwise resolve the conflicts manually and tag the patches.